package org.grayrabbit.cms.entity;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

@Entity
@Table(name = "CMS_CONTENT")
@DiscriminatorValue("LinkContent")
public class LinkContent extends Content implements java.io.Serializable{

	private static final long serialVersionUID = -211286114240355227L;
	
	private String linkUrl;
	
	public LinkContent(){};
	
	@Column(name = "LINK_URL", length = 2000)
	public String getLinkUrl() {
		return this.linkUrl;
	}

	public void setLinkUrl(String linkUrl) {
		this.linkUrl = linkUrl;
	}

	@Transient
	public String getContextType() {
		return "LinkContent";
	}
	
	
	

}
